#ifndef __DEVICE_H__
#define __DEVICE_H__

#include "../../Header/Header.h"

class Device
{
	static Device* m_Instance;
protected:
	Device();
	~Device();
public:
	static Device* GetInstance()
	{
		if (!m_Instance)
		{
			m_Instance = new Device();
		}
		return m_Instance;
	}

	static void DestroyInstance()
	{
		if (m_Instance)
			SAFE_DELETE(m_Instance);
	}

	void SleepEx(__float_);

	void LogEx(const char *formatStr, ...);
};

#endif